package cn.zhagzheguo.xk.model;

import org.springframework.stereotype.Repository;

@Repository
public class CourseSelect {

	private int id;
	private int stu_id;
	private int course_id;
	private String date;// 选课时间
	/**
	 * 0 无，1，是
	 */
	private int isPassed;// 是否修完
	private String classes;// 上课节次
	private String weeks;// 上课周次

	private float score;

	private Student stu;
	private Course course;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getStu_id() {
		return stu_id;
	}

	public void setStu_id(int stu_id) {
		this.stu_id = stu_id;
	}

	public int getCourse_id() {
		return course_id;
	}

	public void setCourse_id(int course_id) {
		this.course_id = course_id;
	}

	public String getDate() {
		return date;
	}

	public void setDate(String date) {
		this.date = date;
	}

	public int getIsPassed() {
		return isPassed;
	}

	public void setIsPassed(int isPassed) {
		this.isPassed = isPassed;
	}

	public Student getStu() {
		return stu;
	}

	public void setStu(Student stu) {
		this.stu = stu;
	}

	public Course getCourse() {
		return course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public float getScore() {
		return score;
	}

	public void setScore(float score) {
		this.score = score;
	}

	@Override
	public String toString() {
		return "CourseSelect [id=" + id + ", stu_id=" + stu_id + ", course_id=" + course_id + ", date=" + date
				+ ", isPassed=" + isPassed + ", score=" + score + ", stu=" + stu + ", course=" + course + "]";
	}

}
